package com.xidian.infrastructure.persistent.po;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class StrategyAwardsPO {
    //主键
    private Long id;
    //抽奖策略id
    private Long awardsStrategyId;
    //奖品id
    private Long awardsId;
    //奖品名称
    private String awardsTitle;
    //奖品名称
    private String awardsDesc;
    //该奖品对应总库存
    private Integer awardsCount;
    //该奖品剩余库存量
    private Integer awardsCountSurplus;
    //中奖概率
    private BigDecimal awardsProbability;
    //规则模型，rule配置的模型同步到此表，便于使用
    private String ruleModels;
    //奖品位置
    private Integer awardsLoc;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;
}
